TEMPLATE = app
TARGET = TerrainEditor
QT += core \
    gui \
    opengl
CONFIG += console
CONFIG += x86
builddir = build
OBJECTS_DIR = $$builddir
MOC_DIR = $$builddir
RCC_DIR = $$builddir
QMAKE_CXXFLAGS += -O3

HEADERS += TerrainEditorGUI.h \
    mainwidget.h \
    ui/TerrainDimensionsGUI.h \
    ../dataengine/TxtTerrainFileManager.h \
    ../dataengine/TerrainFileManager.h \
    ../dataengine/ShpTerrainFileManager.h \
    ../dataengine/TerrainFileManager.h \
    ../dataengine/shapelib/shapefil.h \
    ui/triangulationprogessdialog.h \
    voronoi/VoronoiRenderer.h
SOURCES += main.cpp \
    TerrainEditorGUI.cpp \
    mainwidget.cpp \
    ui/TerraindimensionsGUI.cpp \
    ../dataengine/TxtTerrainFileManager.cpp \
    ../dataengine/ShpTerrainFileManager.cpp \
    ../dataengine/shapelib/shptree.cpp \
    ../dataengine/shapelib/shpopen.cpp \
    ../dataengine/shapelib/dbfopen.cpp \
    ../geom/PolyMesh.cpp \
    voronoi/VoronoiRenderer.cpp \
    voronoi/VoronoiParser.cpp \
    ../geom/Vector3D.cpp \
    ../geom/Point3D.cpp \
    ../geom/BBox.cpp \
    ../glutil/shaderUtils.cpp \
    ../glutil/FBO.cpp \
    ../geom/Triangle.cpp \
    ../geom/MeshPoint.cpp \
    ../glutil/ModelRenderer.cpp \
    ../glutil/MeshRenderer.cpp \
    ../glutil/FreeCamera.cpp \
    ../geom/Frustum.cpp \
    ../geom/GeomMatrix.cpp \
    ../algebra/Matrix.cpp \
    ui/triangulationprogessdialog.cpp \
    ../geom/TerrainModel.cpp \
    ../glutil/TerrainRenderer.cpp \
    ../dataengine/VibTerrainFileManager.cpp \
    ../util/Tokenizer.cpp \
    ../geom/MinMax2DBox.cpp \
    ../glutil/GLee.c \
    ../glutil/GLSupport.cpp \
    ../geom/Point2D.cpp \
    ../geom/TriGrid.cpp
FORMS = ui/TerrainEditorGUI.ui \
    ui/TerrainDimensionsGUI.ui \
    ui/triangulationprogessdialog.ui
TRANSLATIONS += TerrainEditor.qph
